﻿namespace Smith.WPF.HtmlEditor
{
    public sealed class FontSize
    {
        public int HtmlSize { get; set; }
        public double RealSize { get; set; }
        public string DisplayText { get; set; }

        public static readonly FontSize NO = new FontSize { HtmlSize = 0, RealSize = 0 };
        public static readonly FontSize XXSmall = new FontSize { HtmlSize = 1, RealSize = 8.5, DisplayText = "8pt" };
        public static readonly FontSize XSmall = new FontSize { HtmlSize = 2, RealSize = 10.5, DisplayText = "10pt" };
        public static readonly FontSize Small = new FontSize { HtmlSize = 3, RealSize = 12, DisplayText = "12pt" };
        public static readonly FontSize Middle = new FontSize { HtmlSize = 4, RealSize = 14, DisplayText = "14pt" };
        public static readonly FontSize Large = new FontSize { HtmlSize = 5, RealSize = 18, DisplayText = "18pt" };
        public static readonly FontSize XLarge = new FontSize { HtmlSize = 6, RealSize = 24, DisplayText = "24pt" };
        public static readonly FontSize XXLarge = new FontSize { HtmlSize = 7, RealSize = 36, DisplayText = "36pt" };
    }
}
